package top.goldenyear.porpoise.framework.security.core.service;

import cn.dev33.satoken.stp.StpInterface;
import top.goldenyear.porpoise.framework.common.model.LoginUser;

/**
 * 自定义权限验证接口扩展
 *
 * @author airhead
 * @ignore
 */
public interface IPermissionService extends StpInterface {
  /**
   * 获取登录用户信息
   *
   * @param loginId
   * @return
   */
  LoginUser getLoginUser(Integer loginId);
}
